{extend name="base"}
{block name="title"}用户控制参数{/block}
{block name="head"}
<style>
.tab-content dl dt {width:64px;}
.tab-content dl dd {margin-left:70px;}
</style>
{/block}
{block name="body"}
<body class="mainbody" style="padding:0;margin:0;">
<!--内容-->
<div class="tab-content" style="border:1px solid #eee;">
  <dl>
    <dt>GameID：</dt>
    <dd>
      <input type="text" class="input small" autocomplete="off" name="GameID" value="{$GameID}"{gt name="GameID" value="0"} readonly{/gt} />
    </dd>
  </dl>
  <dl>
    <dt>范围：</dt>
    <dd>
      <input type="text" class="input small" id="btn-small" autocomplete="off" name="Range" value="{$Conf.Range??0}" />
      <span class="Validform_checktip">*分数范围, 正负整数</span>
    </dd>
     <dd>
      <button class="btn-numb">700</button>
      <button class="btn-numb">600</button>
      <button class="btn-numb">500</button>
      <button class="btn-numb">400</button>
      <button class="btn-numb">300</button>
      <button class="btn-numb">200</button>
      <button class="btn-numb">150</button>
      <button class="btn-numb">100</button>
    </dd>
  </dl>
  <dl>
    <dt>几率：</dt>
    <dd>
      <input type="text" class="input small" id="btn-next" autocomplete="off" name="Rate" value="{$Conf.Rate??0}" />%
      <span class="Validform_checktip">*几率, 正整数[0~100]</span>
    </dd>
     <dd>
      <button class="btn-numb">-700</button>
      <button class="btn-numb">-600</button>
      <button class="btn-numb">-500</button>
      <button class="btn-numb">-400</button>
      <button class="btn-numb">-300</button>
      <button class="btn-numb">-200</button>
      <button class="btn-numb">-150</button>
      <button class="btn-numb">-100</button>
    </dd>
  </dl>
  <dl><dt>创建时间：</dt><dd>{$Conf.CreateTime??''}</dd></dl>
  <dl><dt>更新时间：</dt><dd>{$Conf.UpdateTime??''}</dd></dl>
</div>
<!--/内容-->
<script>
  $(".btn-numb").click(function(){
    var num = $(this).text()
    $("#btn-small").attr("value",num)
    $("#btn-next").attr("value",75)
  })
</script>
</body>
{/block}